package edu.friday.Service;

import edu.friday.common.result.TableDataInfo;
import edu.friday.model.SysUser;
import edu.friday.model.vo.SysUserVO;

import org.springframework.data.domain.Pageable;

public interface SysUserService {
//    List<SysUser> selectUserList();
    TableDataInfo selectUserList(SysUserVO UserVO, Pageable pageable);

    boolean insertUser(SysUserVO sysUserVO);

    String checkUserNameUnique(String userName);

    String checkEmailUnique(SysUserVO sysUserVO);
    String checkPhoneUnique(SysUserVO sysUserVO);

    int deleteUserByIds(Long[] userIds);

    boolean updateUser(SysUserVO userVO);

    SysUser selectUserById(Long userId);

    SysUser selectUserByName(String userName);
}
